package com.erp.programmer.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈鑫
 * @since 2021-05-27
 */
public class IncomingOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 进仓单号
     */
    private String id;

    /**
     * 采购单号 本次进仓所对应的是哪一条采购单
     */
    private String purchaseId;

    /**
     * 卖方公司名称
     */
    private String sellerName;

    /**
     * 进仓日期 生成进仓单的日期
     */
    @TableField(fill = FieldFill.INSERT)
    private Date incomingDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(String purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public Date getIncomingDate() {
        return incomingDate;
    }

    public void setIncomingDate(Date incomingDate) {
        this.incomingDate = incomingDate;
    }

    @Override
    public String toString() {
        return "IncomingOrder{" +
        "id=" + id +
        ", purchaseId=" + purchaseId +
        ", sellerName=" + sellerName +
        ", incomingDate=" + incomingDate +
        "}";
    }
}
